<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
  "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <title>拼写检查</title>
  <link href="../Styles/styles.css" rel="stylesheet" type="text/css"/>
</head>

<body>
  <h2 id="spellcheck">拼写检查</h2>

  <p class="h2subheading">— 检查并纠正拼写 —</p>

  <p>Sigil provides several ways to check your spelling – highlighting misspelled words, finding words one at a time, or showing all misspelled words at once. You can choose a standard dictionary to use, and create personal user dictionaries with your own words.</p>
  <p>Sigil 提供了多种检查拼写的方法-突出显示拼写错误的单词，一次查找一个单词或一次显示所有拼写错误的单词。您可以选择要使用的标准词典，并使用自己的单词创建个人用户词典。</p>

  <div class="tip">
    <p class="tiptext">Spellcheck uses Code View to show misspelled words.</p>
    <p class="tiptext">拼写检查使用“代码视图”显示拼写错误的单词。</p>
  </div>

  <h3 class="sigil_not_in_toc" id="spellcheck_configuration">配置拼写检查</h3>

  <p>You can set the spell checking preferences that you want – including which main dictionary to use, and which personal user dictionaries to use if any. You can setup user dictionaries for different types of books or individual books, or use only the default user dictionary. You can change user dictionaries at any time.</p>
  <p>您可以设置所需的拼写检查首选项-包括要使用的主要词典以及要使用的个人用户词典（如果有）。 您可以为不同类型的书籍或个别书籍设置用户词典，或者仅使用默认的用户词典。 您可以随时更改用户词典。</p>

  <div class="tip">
    <p class="tiptext">Set up your dictionaries in <a href="../Text/preferences.html#preferences_spellcheck_dictionaries">Preferences</a>.</p>
    <p class="tiptext">在 <a href="../Text/preferences.html#preferences_spellcheck_dictionaries">首选项</a> 中设置字典。</p>
  </div>

  <h3 class="sigil_not_in_toc">自动拼写检查</h3>

  <p>Code View will highlight any misspelled words with a wavy red underline when automatic spell checking is enabled in Preferences or using <span class="menuitem">Tools→Spellcheck→Highlight Misspelled Words</span>:</p>
  <p>在“偏好设置”中启用自动拼写检查或使用 <span class="menuitem"> 工具→拼写检查→突出显示拼写错误的单词</span> 时，“代码视图”会使用波浪状的红色下划线突出显示所有拼写错误的单词：</p>

  <div class="image">
    <img alt="" src="../Images/spellcheck_misspelled.png"/>
  </div>

  <p>You can then right-click on the misspelled word to bring up a list of choices:</p>
  <p>然后，您可以右键单击拼写错误的单词以显示选择列表：</p>

  <div class="image">
    <img alt="spellcheck-context-suggestion" src="../Images/spellcheck-context-suggestion.png"/>
  </div>

  <ul>
    <li><span class="listheading">Suggested Words:</span> A list of alternative words to choose from – selecting one will replace the misspelled word.</li>
    <li><span class="listheading">建议的单词：</span>可供选择的替代单词列表——选择一个将替换拼写错误的单词。</li>

    <li><span class="listheading">Add To Default Dictionary:</span> Add this word to your current default user dictionary.</li>
    <li><span class="listheading">添加到默认词典：</span>将此单词添加到当前的默认用户词典中。</li>

    <li><span class="listheading">Add To Dictionary:</span> Add this word to the dictionary you select from the list.</li>
    <li><span class="listheading">添加到词典：</span>将此单词添加到您从列表中选择的词典。</li>

    <li><span class="listheading">Ignore:</span> Ignores the spelling of this word in the entire document until you restart Sigil.</li>
    <li><span class="listheading">忽略：</span>忽略整个文档中该单词的拼写，直到重新启动 Sigil。</li>
  </ul>

  <h3 class="sigil_not_in_toc" id="spellcheck_find">查找拼写错误的单词</h3>

  <p>Find the next misspelled word in Code View by selecting the menu item <span class="menuitem">Tools→Spellcheck→Find Next Misspelled Word</span> or using its shortcut. You will be switched to Code View automatically if you are not in it already, and the next misspelled word will be highlighted each time you search for the next word.</p>
  <p>通过选择菜单项 <span class="menuitem">工具→拼写检查→查找下一个拼错的单词</span> 或使用其快捷方式，在“代码视图”中找到下一个拼错的单词。如果您尚未进入“代码视图”，则会自动切换到该视图，并且每次搜索下一个拼写错误的单词时，都会突出显示该单词。</p>

  <p>In order to be able to right-click on the misspelled word to select a suggested word or add it to the dictionary you must have <span class="menuitem">Tools→Spellcheck→Highlight Misspelled Words</span> enabled.</p>
  <p>为了能够右键单击拼写错误的单词以选择建议的单词或将其添加到词典中，您必须启用 <span class="menuitem">工具→拼写检查→突出显示拼写错误的单词</span>。</p>

  <h3 class="sigil_not_in_toc" id="spellcheck_editor">拼写检查</h3>

  <p>To open the Spellcheck dialog, click the Spellcheck button <img alt="" src="../Images/document-spellcheck_22px.png"/>, or use the menu item <span class="menuitem">Tools→Spellcheck→Spellcheck</span>.</p>
  <p>要打开“拼写检查”对话框，请单击“拼写检查”按钮 <img alt="" src="../Images/document-spellcheck_22px.png"/>，或使用菜单项 <span class="menuitem">工具→拼写检查→ 拼写检查</span>。</p>

  <div class="image">
    <img alt="spellcheck-main" src="../Images/spellcheck-main.png"/>
  </div>

  <p>Words are shown with the number of times they occur in the book and if they are misspelled. Select a word to perform an action.</p>
  <p>单词会显示在书中的次数以及拼写错误的次数。 选择一个词来执行一个动作。</p>

  <div class="tip">
    <p class="tiptext">Selecting a word will also show the first occurrence of the word in Code View so you can view its context and change just the one occurrence if needed.</p>
    <p class="tiptext">选择一个单词还将在“代码视图”中显示该单词的第一个出现的位置，因此您可以查看其上下文并根据需要仅更改一个出现的位置。</p>

    <p class="tiptext">Double-click a selected word to find the next occurrence of the word.</p>
    <p class="tiptext">双击选定的单词以查找该单词的下一个出现位置。</p>
  </div>

  <p>You can add words to a dictionary by clicking <span class="buttonbox">Add to Dictionary</span>. Select your user dictionary to add the word to from the dropdown list:</p>
  <p>您可以通过点击 <span class="buttonbox">添加到字典</span> 来将单词添加到字典中。从下拉列表中选择要添加单词的用户词典：</p>

  <div class="image">
    <img alt="spellcheck-editor-dictionaries" src="../Images/spellcheck-editor-dictionaries.png"/>
  </div>

  <p>To Ignore words, click <span class="buttonbox">Ignore</span>. The Misspelled Word column will update to "No" only if you have enabled the dictionary to be used in Preferences. To clear all ignored words use <span class="menuitem">Tools→Spellcheck→Clear Ignored Words</span>. Ignored words are also cleared when you open a new book.</p>
  <p>要忽略单词，请单击 <span class="buttonbox">忽略</span>。仅当您启用在首选项中使用该词典时，“拼写错误的单词”列才会更新为“否”。要清除所有忽略的单词，请使用 <span class="menuitem">工具→拼写检查→清除被忽略的单词</span>。打开新书时，也会清除忽略的单词。</p>

  <p>To correct the spelling of words, select one of the suggested words from the dropdown below click <span class="buttonbox">Change Selected Word To:</span> or type your own word in the box. Then click <span class="buttonbox">Change Selected Word To:</span>. This will change every occurrence of the selected word to the new word. It will also automatically refresh the list of words from the HTML files.</p>
  <p>要纠正单词的拼写，请从下面的下拉列表中选择建议的单词之一，然后单击 <span class="buttonbox">将所选单词更改为：</span> 或在框中键入您自己的单词。然后单击 <span class="buttonbox">将所选单词更改为：</span>。这会将所选单词的每次出现都更改为新单词。它还将自动刷新 HTML 文件中的单词列表。</p>

  <div class="image">
    <img alt="spellcheck-suggested-words" src="../Images/spellcheck-suggested-words.png"/>
  </div>

  <p>You can see all words in your EPUB by selecting <span class="example">Show All Words</span>. In addition, the tooltip for the column names shows the number of words in your EPUB:</p>
  <p>通过选择 <span class="example">显示所有单词</span>，您可以查看 EPUB 中的所有单词。此外，列名的工具提示还显示了 EPUB 中的单词数：</p>

  <div class="image">
    <img alt="spellcheck-editor-tooltip" src="../Images/spellcheck-editor-tooltip.png"/>
  </div>

  <p>If you enable <span class="example">Case-Insensitive Sort</span> then the words will be sorted as AaBbCc instead of ABCabc.</p>
  <p>如果启用 <span class="example">不区分大小写的排序</span>，则单词将按 AaBbCc 而不是 ABCabc 进行排序。</p>

  <p>Use the <span class="buttonbox">Refresh</span> button if you edit your book while Spellcheck is open. You do not need to use it if you are just ignoring, adding, or changing a word.</p>
  <p>如果在“拼写检查”处于打开状态时编辑图书，请使用 <span class="buttonbox">刷新</span> 按钮。如果您只是忽略，添加或更改单词，则无需使用它。</p>
</body>
</html>